<?php
	use\ampleharvest\code\cConfig;
	require_once dirname(dirname(dirname(__FILE__))) . '/config/cConfig.php';

	require_once dirname(dirname(dirname(__FILE__))) . '/classes/cAmpleHarvestLog.php';
	require_once dirname(dirname(dirname(__FILE__))) . '/classes/search/solr/cSolr.php';

	ini_set("memory_limit", '256m');

	$obj_Log = new cAmpleHarvestLog();

	$obj_Solr = new cSolr(null, null, null);
	$this->output_Error("Using default solr instance -- index4Solr_Chunk");

	$obj_Log->do_Log(cAmpleHarvestLog::C_STR_ACTION_DATA_INDEX_INFO,
		"Processing Chunk",
		cAmpleHarvestLog::C_INT_LEVEL_INFO);

/*	error_reporting(E_ALL ^ E_NOTICE);
	if ($obj_Solr->load_Chunk(cConfig::C_INT_INDEX_CHUNK))
	{
		exit(1);
	}
	else
	{*/
		exit(0);
//	}
